package cn.sypt.yuhao.servlet;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import cn.itcast.servlet.BaseServlet;
import cn.sypt.yuhao.dao.BcategoryDao;
import cn.sypt.yuhao.domain.Bcategory;

public class BcategoryServlet extends BaseServlet {
	private BcategoryDao bd=new BcategoryDao();
	/*
	public void find(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		System.out.println("find");
	}
	
	public String findByaid(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		String aid=request.getParameter("aid");
		List<Bcategory> scategoryList=bd.findByaid(aid);
		
		response.getWriter().print(scategoryList);
		request.getSession().setAttribute("list2", scategoryList);
		return "f:/ui/products.jsp";
	}
	*/

}
